import { CITY_LIST_URL ,REGISTER_URL} from '../config/urls.config'
import Ajax from './Ajax'

export function getCityApi(){
    return Ajax({
        url:CITY_LIST_URL,
        method:'GET'
    })
}
export function getRegisterApi(data){
    return Ajax({
        url:REGISTER_URL,
        method:'PUT',
        data
    })
}